import request from '@/utils/request'
// 获取楼盘表
export function getHouseList(data) {
  return request({
    url: '/community/house/getAppEstate',
    method: 'POST',
    data
  })
}
// 获取房屋下级数据
export function getAppGridHouse(data) {
  return request({
    url: '/community/house/getAppGridHouse',
    method: 'GET',
    params: data
  })
}
// 获取入户走访信息
export function getDetail(data) {
  return request({
    url: '/community/houseVisit/getHouseVisit',
    method: 'GET',
    params: data
  })
}
// 新增走访记录
export function create(data) {
  return request({
    url: '/community/houseVisit/saveAppHouseVisit',
    method: 'POST',
    data
  })
}
// 获取房屋人员相关信息
export function getHouseUse(data) {
  return request({
    url: '/community/Resident-info/getResidentInfoByRoomId',
    method: 'GET',
    params: data
  })
}
// 获取房屋核查记录
export function getVisitList(data) {
  return request({
    url: '/community/houseVisit/page',
    method: 'GET',
    params: data
  })
}